var express = require('express');
const loginController = require('../controllers/loginController');
var router = express.Router();


router.post("/logins",loginController.logins);
router.get("/getCurrUser",loginController.getCurrUser); //验证是否登录


router.post("/verifyIsInvitedUser",loginController.verifyIsInvitedUser); //验证是否为受邀请用户 是的话下发验证码
router.post("/smsLoginverify",loginController.smsLoginverify); //点击绑定按钮,验证短信和号码
router.post("/verifyBindUser",loginController.verifyBindUser)//验证是否已经登录过,登录过就避免重复登录


module.exports=router